package com.yicheng.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class News {
    private String id;
    private String image;
    private String title;
    private String message;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;
    private String times;
}
